home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
ADB.idl
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
74 lines
/*
File: ADB.idl
Contains: ADB Interface for System 8
Version: Technology:
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __ADB_IDL__
#define __ADB_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __IOITERATOR_IDL__
#include <IOIterator.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM8_PREEMPTIVE
/*
------------------------------------------------------------------------------------
Types
------------------------------------------------------------------------------------
*/
typedef SOMLargeStruct ADBIOIteratorData; /* Derived from a struct of 23 bytes in size */
typedef UInt32 ADBConnectionID;
typedef SOMLargeStruct ADBRegisterContents; /* Derived from a struct of 12 bytes in size */
/*
------------------------------------------------------------------------------------
Calls
------------------------------------------------------------------------------------
*/
/* ADBGetRegister sends a Talk command over the wire*/
/*
ADBSetRegister sends a Listen command over the wire
Note, only allowed for registers 0, 1, and 2
Use the specific calls to set individual fields of register 3
*/
/*
for ADBGetStatusBits and ADBSetStatusBits,
the 4 most significant bits of the bits parameter
contain the 4 most significant bits of the first byte of device register 3
*/
/* see the Guide to Macintosh Family Hardware for more info on an ADB device activator*/
/*
------------------------------------------------------------------------------------
status codes
------------------------------------------------------------------------------------
*/
/* ADB assigned range is -30279 to -30260 inclusive*/
#endif
#endif /* __SOMIDL__ */
#endif /* __ADB_IDL__ */